
using System;

namespace Youz.Common.Entity
{
  /// <summary>
  /// Sys_StatusRecord Entity
  ///</summary>
  [Serializable]
  public partial class Sys_StatusRecord
  {
      public enum StatusRecordType
      {
          /// <summary>
          /// 充值表
          /// </summary>
          Member_Recharge,
          /// <summary>
          /// 提现表
          /// </summary>
          Member_Withdraw
      }
      
      public Sys_StatusRecord()
      {}

      #region Entity
      
      /// <summary>
      /// 记录ID
      /// </summary>
      public Guid RecordId { set; get; }
      
      /// <summary>
      /// 会员帐号，操作人员
      /// </summary>
      public String MemberAccount { set; get; }
      
      /// <summary>
      /// 记录类型 如(RechargeStatus/WithdrawStatus)
      /// </summary>
      public String RecordType { set; get; }
      
      /// <summary>
      /// 记录变更之前的值
      /// </summary>
      public Int32 BeforeValue { set; get; }
      
      /// <summary>
      /// 记录变更之后的值
      /// </summary>
      public Int32 AfterValue { set; get; }
      
      /// <summary>
      /// 记录变更时间
      /// </summary>
      public DateTime CreateTime { set; get; }
      
      /// <summary>
      /// 创建人
      /// </summary>
      public String Creator { set; get; }
      
      /// <summary>
      /// 备注
      /// </summary>
      public String Memo { set; get; }
      
      /// <summary>
      /// 记录对象 如充值ID或提现ID
      /// </summary>
      public String ObjectID { set; get; }
      
      /// <summary>
      /// 登录ID
      /// </summary>
      public Guid LoginID { set; get; }
      
      /// <summary>
      /// 记录表名(Member_Recharge,Member_Withdraw)
      /// </summary>
      public String RecordTable { set; get; }
      
      #endregion Entity

    }
}
  